﻿using MediatR;
using Yuekao.Domain.API;
using Yuekao.Domain.Entitys;

namespace Yuekao.API.Read.Command
{
    /// <summary>
    /// 获取粉丝信息命令
    /// </summary>
    public class GetFanCommand : IRequest<APIPagging<Fan>>
    {
      
        /// <summary>
        /// 用户名或账号（模糊查询关键字）
        /// </summary>
        public string? Keyword { get; set; }
        /// <summary>
        /// 加入时间
        /// </summary>
        public DateTime? CreateTime { get; set; }


        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
